<?

class context
{
	private static $context = array();

	public static function get( $name )
	{
		return self::$context[$name];
	}

	public static function set( $name, $value )
	{
		return self::$context[$name] = $value;
	}

	/**
	 * @return action_controller
	 */
	public static function get_action()
	{
		return context::get('action');
	}
}